package com.chixing.service;

import com.chixing.commons.ServerResponse;
import com.chixing.pojo.CompanyAndJobs;
import com.chixing.pojo.CompanyDetail;
import com.chixing.pojo.CompanyQuery;
import com.chixing.pojo.JobAndManage;

import java.util.List;

/**
 * <p>
 * 公司表 服务类
 * </p>
 *
 * @author Jason Marslyon
 * @since 2022-10-04
 */
public interface ICompanyDetailService {
    public ServerResponse getById(Integer companyId);
    public ServerResponse save(CompanyDetail companyDetail);
    public ServerResponse update(CompanyDetail companyDetail);
    public ServerResponse delete(Integer companyId);
    public ServerResponse getAll();
    public ServerResponse getAllCompany(CompanyQuery companyQuery);
    public CompanyAndJobs getCompanyAndJobs(Integer companyId);
    public ServerResponse getCompany();
    public Integer getCompanyManages(Integer companyId);
    public List<JobAndManage> getJobAndManage(Integer companyId);


    /*后台模块*/

    public CompanyDetail selectById(Integer id);
    public CompanyDetail selectByName(String companyName);
    public boolean insertCompanyDetail(CompanyDetail companyDetail);
    public boolean updateCompanyDetail(CompanyDetail companyDetail);

}
